﻿/*----------------------------------------------------------------
//  <copyright file="RegisterDto.cs" company="MicroCloud@151504200868">
//      Copyright © 2020-2024 MicroCloud Corporation, All rights reserved.
//  </copyright>
//  <site>https://gitee.com/chenmm123/microclouds</site>
//  <last-editor>cmm</last-editor>
//  <last-date>2023-09-13 18:51</last-date>
//----------------------------------------------------------------*/

namespace MicroCloud.Identity.Dtos
{
    #region "用户注册信息DTO"
    /// <summary>
    /// 用户注册信息DTO
    /// </summary>
    public class RegisterDto
    {
        #region "属性"
        #region "获取或设置 用户名"
        /// <summary>
        /// 获取或设置 用户名
        /// </summary>
        public string UserName { get; set; }
        #endregion
        #region "获取或设置 用户昵称"
        /// <summary>
        /// 获取或设置 用户昵称
        /// </summary>
        public string NickName { get; set; }
        #endregion
        #region "获取或设置 密码"
        /// <summary>
        /// 获取或设置 密码
        /// </summary>
        [DataType(DataType.Password)]
        public string Password { get; set; }
        #endregion
        #region "获取或设置 确认密码"
        /// <summary>
        /// 获取或设置 确认密码
        /// </summary>
        [Compare("Password", ErrorMessage = "密码与确认密码不匹配")]
        public string ConfirmPassword { get; set; }
        #endregion
        #region "获取或设置 电子邮箱"
        /// <summary>
        /// 获取或设置 电子邮箱
        /// </summary>
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }
        #endregion
        #region "获取或设置 邮箱确认地址"
        /// <summary>
        /// 获取或设置 邮箱确认地址
        /// </summary>
        public string EmailConfirmUrl { get; set; }
        #endregion
        #region "获取或设置 手机号码"
        /// <summary>
        /// 获取或设置 手机号码
        /// </summary>
        [DataType(DataType.PhoneNumber)]
        public string PhoneNumber { get; set; }
        #endregion
        #region "获取或设置 短信验证码"
        /// <summary>
        /// 获取或设置 短信验证码
        /// </summary>
        public string SmsCode { get; set; }
        #endregion
        #region "获取或设置 短信验证码编号"
        /// <summary>
        /// 获取或设置 短信验证码编号
        /// </summary>
        public string SmsCodeId { get; set; }
        #endregion
        #region "获取或设置 组织机构编号"
        /// <summary>
        /// 获取或设置 组织机构编号
        /// </summary>
        public string OrganizationId { get; set; }
        #endregion

        #region "获取或设置 注册IP"
        /// <summary>
        /// 获取或设置 注册IP
        /// </summary>
        public string RegisterIp { get; set; }
        #endregion

        #region "获取或设置 验证码"
        /// <summary>
        /// 获取或设置 验证码
        /// </summary>
        public string VerifyCode { get; set; }
        #endregion
        #region "获取或设置 验证码编号"
        /// <summary>
        /// 获取或设置 验证码编号
        /// </summary>
        public string VerifyCodeId { get; set; }
        #endregion

        #endregion

    }
    #endregion

}
